﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tfs_analyzer
{
  class ValidationResult : IValidationResult
  {
    public ValidationResult() 
    {
      m_reason = "";
      m_mark = 0;
    }
    public String GetReason() { return m_reason; }
    public int GetMark() { return m_mark; }

    public void SetReason(String i_reason) { m_reason = i_reason; }
    public void SetMark(int i_mark) { m_mark = i_mark; }

    public override string ToString()
    {
        return "Mark: " + m_mark.ToString() + "\nReason: " + m_reason;
    }
    
    private String m_reason;
    private int m_mark;
  }
}
